package com.hb.umsp.service;

import java.util.List;

import com.hb.umsp.entity.HbMenu;
import com.hb.umsp.mapper.HbMenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MenuService {

    @Autowired
    HbMenuMapper hbMenuMapper;

    public List<HbMenu> findHhMenu() {
        return hbMenuMapper.selectMenu();
    }

    public HbMenu selectMenuById(String node) {
        return hbMenuMapper.selectHbMenuById(node);
    }

}
